package me.o0o0o.testNetty3.Netty3Demo;

import java.util.Date;

public class UnixTime {
    private final int value;

    public UnixTime(int value) {
        this.value = value;
    }

    public int getValue() {
        return this.value;
    }

    @Override
    public String toString() {
        return new Date(value * 1000L).toString();
    }

}
